import cv2

video = cv2.VideoCapture('蜡笔小新原视频.mp4')
fps = video.get(cv2.CAP_PROP_FPS)
frame_Count = video.get(cv2.CAP_PROP_FRAME_COUNT)
frame_Width = video.get(cv2.CAP_PROP_FRAME_WIDTH)
frame_Height = video.get(cv2.CAP_PROP_FRAME_HEIGHT)

print("帧数率:", fps)
print("帧数:", frame_Count)
print("帧宽度:", frame_Width)
print("帧高度:", frame_Height)
